﻿using System.Collections.Generic;

namespace movie.tool.module.http
{
    public class SignUrlParam
    {
        /// <summary>
        /// url的id,用来查找对应的存储路径.对于PUT\POST\DELETE方法的请求需要有值
        /// </summary>
        public string UrlId { get; set; }
        /// <summary>
        /// 请求的方法，值为GET\PUT\POST\DELETE,不区分大小写
        /// </summary>
        public string Method { get; set; }
        /// <summary>
        /// 需要的特殊参数,官方文档里查看
        /// </summary>
        public string SpecialParam { get; set; }
        /// <summary>
        /// 对于GET请求,可以指定查询的对象的key
        /// </summary>
        public string Key { get; set; }
        /// <summary>
        /// 请求的头部参数
        /// </summary>
        public Dictionary<string, string> Headers { get; set; }
        /// <summary>
        /// 请求的查询参数
        /// </summary>
        public Dictionary<string, object> Params { get; set; }
    }
}
